/* 样式重置 */
* {
    -webkit-tap-highlight-color: transparent;
    outline: 0;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td {
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}
img {
    border: 0 none;
    vertical-align: top;
}
i,
em {
    font-style: normal;
}
ol,
ul {
    list-style: none;
}
input,
select,
button,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-family: inherit;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
a {
    text-decoration: none;
    color: #666;
}
body {
    margin: 0 auto;
    min-width: 320px;
    max-width: 640px;
    height: 100%;
    font-size: 14px;
    font-family: -apple-system, Helvetica, sans-serif;
    line-height: 1.5;
    color: #666;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
}
input[type='text'],
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#app {
    width: 100vw;
}

/* 重写vant默认样式 */
:root {
    /* 导航栏 navbar */
    --van-nav-bar-height: 44px !important;
    --van-nav-bar-title-text-color: #fff !important;
    --van-nav-bar-icon-color: #fff !important;
    --van-nav-bar-background-color: #4073f5 !important;
    /* 标签页tabs */
    /* --van-tabs-bottom-bar-color: #4073f5; */
    --van-tabs-bottom-bar-color: #4073f5 !important;
    --van-tab-active-text-color: #333 !important;
    --van-tab-font-size: 13px !important;
    /* 标签页页头行高 */
    --van-tabs-line-height: 34px !important;
    --van-switch-on-background-color: #4073f5 !important;
    /* 按钮颜色 */
    --van-button-primary-background-color: #4073f5 !important;
    --van-button-primary-border-color: #4073f5 !important;
    --van-field-label-width: 10em !important;
    /* 步骤条样式 */
    --van-padding-xl: 48px !important;
    --van-line-height-sm: 48px !important;
}
/* 移动端基础色调 */
:root {
    --ep-button-color: #2494f2;
    --van-popup-close-icon-size: 16px !important;
    --van-popup-close-icon-color: #5b5b5b !important;
}

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.van-nav-bar__left,
.van-nav-bar__right {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 var(--van-padding-md);
    font-size: var(--van-line-height-md);
    cursor: pointer;
}
.ep-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
}
/* 页面布局容器 */
.main-container {
    flex: 1;
    overflow: scroll;
    margin-bottom: 50px;
}
/* 提交按钮 */
.submit-button {
    width: 90%;
    margin: auto;
    font-size: 15px;
    background-color: var(--van-nav-bar-background-color);
}

.fixed {
    position: fixed;
    width: 100%;
    z-index: 999;
}

/* navbar fixed 占位 */
.nav-bar {
    height: 44px;
}

/* 弹出层首行占位 */
.nav-space {
    width: 100%;
    height: 44px;
}

/* better scroll 宽高设置 */
.bscroll-wrapper {
    /* height: 100px; */
    width: 100%;
    overflow: hidden;
}

/* 列表容器 */
.list-container {
    width: 100vw;
    height: 100vh;
}

.search-wrap {
    height: 88px;
}

.search-fixed {
    position: fixed;
    top: 44px;
    width: 100vw;
    z-index: 3;
}
.search {
}

.total {
    background: #f7f7f7;
    padding: 10px 15px;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}
.pop-container {
    width: 100%;
    height: 100vh;
}

.detail-description-space {
    width: 100vw;
    height: 80px;
}

.detail-description {
    position: fixed;
    top: 44px;
}

/* 详情页，tab内部样式 S */
.tab-inner-title {
    color: #999999;
    background: #f7f7f7;
    padding: 10px 15px;
}

.tab-inner-wrap {
    /* height: 100%; */
    /* height: calc(100vh - 1.1733rem - 2.6667rem - 1.1733rem); */
    overflow: hidden;
}

/* 详情页，tab内部样式 E */

/* 悬浮球 S */
.float-ball-content {
    display: flex;
    height: 100%;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.custom-image .van-empty__image {
    width: 90px;
    height: 90px;
}

.inline {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
}
/* 悬浮球 E */

/* 骨架屏 */
.van-skeleton {
    display: flex;
    padding: 0 var(--van-padding-md);
    align-content: center;
    justify-content: center;
    align-items: center;
}

/* 路由切换动画 */
/* .fade-enter,
.fade-leave-to {
    opacity: 0;
}

.fade-enter-to,
.fade-leave {
    opacity: 1;
}

.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.1s;
} */

@media (-webkit-min-device-pixel-ratio: 2), not all {
    .bottom-border:after {
        transform: scaleY(0.5);
        -ms-transform: scaleY(0.5);
        -moz-transform: scaleY(0.5);
        -webkit-transform: scaleY(0.5);
        -o-transform: scaleY(0.5);
    }
}
.bottom-border:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid #ddd;
}

.full-screen {
    width: 100vw;
    height: 100vh;
}

/* 下拉刷新错误提示 */
.van-list__error-text {
    color: #ffd2d2 !important;
}

.van-pull-refresh {
    overflow: hidden;
    user-select: none;
    min-height: calc(100vh - 44px - 54px - 38px);
}
